<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<link href="__ROOT__/statics/admin/css/style.css" rel="stylesheet" type="text/css"/>
<link href="__ROOT__/statics/css/dialog.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="__ROOT__/statics/js/jquery/jquery-1.4.2.min.js"></script>
<script language="javascript" type="text/javascript" src="__ROOT__/statics/admin/js/admin_common.js"></script>
<script language="javascript" type="text/javascript" src="__ROOT__/statics/js/dialog.js"></script>
<script language="javascript" type="text/javascript" src="__ROOT__/statics/js/jquery/plugins/formvalidator.js" charset="UTF-8"></script>
<script language="javascript" type="text/javascript" src="__ROOT__/statics/js/jquery/plugins/formvalidatorregex.js" charset="UTF-8"></script>
<script language="javascript">
var URL = '__URL__';
var ROOT_PATH = '__ROOT__';
var APP	 =	 '__APP__';
var lang_please_select = "<?php echo (L("please_select")); ?>";
</script>
<title><?php echo (L("website_manage")); ?></title>
</head>

<body>
<?php if(($sub_menu != '') OR ($big_menu != '')): ?><div class="subnav">
    <div class="content-menu ib-a blue line-x">
    	<?php if(!empty($big_menu)): ?><a class="add fb" href="<?php echo ($big_menu["0"]); ?>"><em><?php echo ($big_menu["1"]); ?></em></a>　<?php endif; ?>
        <?php if(!empty($sub_menu)): ?><?php if(is_array($sub_menu)): $key = 0; $__LIST__ = $sub_menu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$val): ++$key;$mod = ($key % 2 )?><?php if($key != '1'): ?><span>|</span><?php endif; ?>
        <a href="<?php echo u($val['c'].'/'.$val['a'], array('menuid'=>$val['id']));?>" <?php if($curr_menuid == $val['id']): ?>class="on"<?php endif; ?>><em><?php echo ($val["title"]); ?></em></a><?php endforeach; endif; else: echo "" ;endif; ?><?php endif; ?>
    </div>
</div><?php endif; ?>
<div class="subnav">
  <h1 class="title-3 line-x"><?php echo ($lang["hello"]); ?>，<?php echo ($admin_info["username"]); ?>，<?php echo ($lang["wellcom_use_tuanphp"]); ?>。<?php echo ($lang["user_last_login_time"]); ?> {date $admin_info.last_time to Y-m-d H:i:s}，<?php echo ($lang["user_last_login_ip"]); ?> <?php echo ($admin_info["last_ip"]); ?></h1>
  <div class="bk10"></div>
  <div class="col-2 lf mr10">
	<h6><?php echo ($lang["stat_info"]); ?></h6>
	<div class="content">
    	<table class="table_panel">
        	<tbody>
            <tr>
            	<th><?php echo ($lang["group_total"]); ?>：</th>
                <td><?php echo ($groups_total); ?></td>
                <th><?php echo ($lang["group_site_total"]); ?>：</th>
                <td><?php echo ($group_site_total); ?></td>
            </tr>
            <tr>
            	<th><?php echo ($lang["member_total"]); ?>：</th>
                <td><?php echo ($member_total); ?></td>
                <th></th>
                <td></td>
            </tr>
            </tbody>
        </table>
    </div>
  </div>
  <div class="bk10"></div>
  <div class="col-2 lf mr10">
	<h6><?php echo ($lang["system_info"]); ?></h6>
	<div class="content">
    	<table class="table_panel">
        	<tbody>
            <tr>
            	<th><?php echo ($lang["server_os"]); ?>：</th>
                <td><?php echo ($server_os); ?></td>
                <th><?php echo ($lang["web_server"]); ?>：</th>
                <td><?php echo ($web_server); ?></td>
            </tr>
            <tr>
            	<th><?php echo ($lang["php_version"]); ?>：</th>
                <td><?php echo ($php_version); ?></td>
                <th><?php echo ($lang["mysql_version"]); ?>：</th>
                <td><?php echo ($mysql_version); ?></td>
            </tr>
            <tr>
            	<th><?php echo ($lang["tuanphp_version"]); ?>：</th>
                <td><?php echo ($tuanphp_version); ?></td>
                <th><?php echo ($lang["install_date"]); ?>：</th>
                <td><?php echo ($install_date); ?></td>
            </tr>
            </tbody>
        </table>
    </div>
  </div>  
</div>
</body>
</html>